package com.aaa.ssm.service;

import com.aaa.ssm.entity.Help;
import com.aaa.ssm.entity.Theme;
import com.aaa.ssm.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @ fileName:HelpServer
 * @ description:
 * @ createTime:2023/3/31 10:09
 * @ version:1.0.0
 */
public interface HelpServer {
    /**
     * 分页带参查询
     * @param help
     * @return
     */
    PageInfo queryAll(Page<Help> help);

    /**
     * 添加
     * @param help
     * @return
     */
    int add(Help help);

    /**
     * 修改
     * @param help
     * @return
     */
    int update(Help help);

    /**
     * 根据编号删除
     * @param id
     * @return
     */
    int delete(String id);
}
